package com.homedo.microservice.open.service.gateway.manager.web.api;

import com.homedo.common.bean.data.RequestData;
import com.homedo.common.bean.data.ResponseData;
import com.homedo.microservice.open.service.gateway.manager.web.api.bean.model.req.AlertUserRouteServcieAddAReq;
import com.homedo.microservice.open.service.gateway.manager.web.api.constant.RemoteService4OpenServiceGatewayManagerWebServiceConstant;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping(RemoteService4OpenServiceGatewayManagerWebServiceConstant.SERVICE_ID + "/alertUserRouteService")
public interface IAlertUserRouteServcieServiceRemote {

    @PostMapping(value = "add")
    ResponseData add(RequestData<AlertUserRouteServcieAddAReq> requestData);

    @GetMapping(value = "delete/{alertUserId}/{serviceId}")
    ResponseData delete(Integer alertUserId, String serviceId);
}
